<?php

namespace Model;

/**
 * Klass som används för att skapa och hantera en fil
 */
class File{

	private $m_fileid; // Int
	private $m_filename; // String
	private $m_userid; // int

	public function __construct($fileid, $filename, $userid)
	{
		$this->m_fileid = $fileid;
		$this->m_filename = $filename;
		$this->m_userid = $userid;	
	}

	public function GetId(){
        return $this->m_fileid;
    }
        
    public function GetFilename(){
        return $this->m_filename;
    }
    
    public function GetUserId(){
        return $this->m_userid;                             
    }
}